/*
 * @Author: samfeng
 * @Date: 2021-04-08 20:58:20
 * @LastEditTime: 2021-04-08 20:58:45
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /first_flutter_app/lib/util/tool.dart
 */
// 整屏宽度
import 'package:flutter/material.dart';

double winWidth(BuildContext context) {
  return MediaQuery.of(context).size.width;
}

// 整屏高度
double winHeight(BuildContext context) {
  return MediaQuery.of(context).size.height;
}
